package com.rfsp.demo.pojo.vo;

import cn.idev.excel.annotation.ExcelIgnore;
import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.format.DateTimeFormat;
import com.rfsp.common.base.BaseVO;

import java.time.LocalDate;

public class DemoExcelVO extends BaseVO {
    @ExcelProperty("员工编号")
    Integer employeeId;
    @ExcelProperty("员工姓名")
    String employeeName;
    @ExcelProperty("员工年龄")
    Integer employeeAge;

    @ExcelProperty(value = "生日")
    @DateTimeFormat(value = "yyyy-MM-dd")
    LocalDate birthday;
    @ExcelIgnore
    LocalDate birthday2;


    public DemoExcelVO() {
    }

    public DemoExcelVO(Integer employeeId, String employeeName, Integer employeeAge) {
        this.employeeId = employeeId;
        this.employeeName = employeeName;
        this.employeeAge = employeeAge;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public Integer getEmployeeAge() {
        return employeeAge;
    }

    public void setEmployeeAge(Integer employeeAge) {
        this.employeeAge = employeeAge;
    }
}

